home *** CD-ROM | disk | FTP | other *** search
/ GameSpot.it / GameSpot Italia (2001).bin / demo / severancedemo / data1.cab / Program_Files / Maps / Ragnar_M2 / SleepingKnights.py < prev    next >
Text File  |  2000-10-13  |  1KB  |  44 lines

  1. import def_class
  2. from math import pow
  3. import EnemyTypes
  4. import Bladex
  5. import pdb
  6. import Reference
  7. import Actions
  8. import Sounds
  9.  
  10. TRUE = 1==1
  11. FALSE = not TRUE
  12.  
  13.  
  14.     
  15. #######################################################
  16. # Create a  sleeping Knight
  17. # (named after PERKINS in Meaning of Life, who gets his leg bitten off by mosquitos while he sleeps)
  18. #######################################################
  19. #bow3=Bladex.CreateEntity("PerkinsBow","Arco",0,0,0)
  20. #bow3.Weapon=1
  21. #quiver3=Bladex.CreateEntity("PerkinsQuiver","Carcaj",0,0,0)
  22. #quiver3.Weapon=1
  23. weapon3=Bladex.CreateEntity("PerkinsWeapon","Gladius",0,0,0,"Weapon")
  24. #torch3=Bladex.CreateEntity("PerkinsTorch","Antorcha",0,0,0)
  25. #torch3.Static=0
  26. #torch3.FiresIntensity=[ 10.000000 ]
  27. #torch3.Lights=[ (6.0,0.031250,(255,150,100)) ]
  28.  
  29. #8850
  30. knt3=Bladex.CreateEntity("Perkins","Knight_Traitor",-75975.0274434, -6102.01979969, 53688.6007,"Person")
  31. knt3.Level=0
  32. knt3.Angle=4.2
  33. Actions.TakeObject(knt3.Name,"PerkinsWeapon")
  34. #Actions.TakeObject(knt3.Name,"PerkinsTorch")
  35. #Actions.TakeObject(knt3.Name,"PerkinsBow")
  36. #Actions.TakeObject(knt3.Name,"PerkinsQuiver")
  37. #knt3.ActionAreaMin=4
  38. #knt3.ActionAreaMax=5
  39. knt3.SetOnFloor()
  40. knt3.Data = def_class.SleepingKnight (knt3)
  41.  
  42. #char.Position=-73245.6576222, -1809.85386667, 39920.5233
  43.  
  44.